Micron Document
🎖️GitЯра🎖️


Displaying Raw • View renderedDownload

core/data/README.md 4d4070c8e1ed73a56ee2f054300a0f62e3fe2e62 (4d4070c8) Text, 2.27 KB

Tc9d1d9# `:core:data`

Tc9d1d9## Overview
The Ta5d6ff`:core:data` module holds the concrete implementations of the Ta5d6ff`:core:repository` contracts, serving as the primary data source for ViewModels in feature modules. It orchestrates data flow between the local database (Ta5d6ff`core:database`), remote services, and network repositories.

Tc9d1d9## Key Components

Tc9d1d9### 1. Repository implementations (`repository/`)
Tff7b72- **`NodeRepositoryImpl`**: High-level access to node information and mesh state (Room KMP backed).
Tff7b72- **`MeshLogRepositoryImpl`**: Access to historical logs and diagnostics.
Tff7b72- **`FirmwareReleaseRepositoryImpl`**: Manages the discovery and retrieval of firmware updates.

Tc9d1d9### 2. Manager implementations (`manager/`)
Tff7b72- **`SessionManagerImpl`**: Per-node remote-admin passkey store.
Tff7b72- **`PacketHandlerImpl`** / **`MeshMessageProcessorImpl`**: Inbound mesh packet handling and message processing.


Tc9d1d9## Dependency Graph

<!--region graph-->
Ta5d6ff```Ta5d6ffmermaid
Ta5d6ffgraph TB
:core:data[data]:::kmp-library
:core:data --> :core:repository
:core:data -.-> :core:common
:core:data -.-> :core:database
:core:data -.-> :core:datastore
:core:data -.-> :core:di
:core:data -.-> :core:model
:core:data -.-> :core:network
:core:data -.-> :core:prefs
:core:data -.-> :core:takserver
:core:data -.-> :core:testing

classDef android-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-application-compose fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef compose-desktop-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef android-library fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-library-compose fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-test fill:#A0C4FF,stroke:#000,stroke-width:2px,color:#000;
classDef jvm-library fill:#BDB2FF,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library-compose fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef unknown fill:#FFADAD,stroke:#000,stroke-width:2px,color:#000;

Ta5d6ff```
<!--endregion-->

Served by rngit 1.5.2 - Generated in 0.05s